Optimal. Leaf size=71 \[ -\frac {2 x^3}{3 b \left (a x+b x^2\right )^{3/2}}-\frac {2 x}{b^2 \sqrt {a x+b x^2}}+\frac {2 \tanh ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a x+b x^2}}\right )}{b^{5/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 71, normalized size of antiderivative = 1.00, number of steps
used = 4, number of rules used = 4, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.235, Rules used = {682, 666, 634,
212} \begin {gather*} \frac {2 \tanh ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a x+b x^2}}\right )}{b^{5/2}}-\frac {2 x}{b^2 \sqrt {a x+b x^2}}-\frac {2 x^3}{3 b \left (a x+b x^2\right )^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 634
Rule 666
Rule 682
Rubi steps
\begin {align*} \int \frac {x^4}{\left (a x+b x^2\right )^{5/2}} \, dx &=-\frac {2 x^3}{3 b \left (a x+b x^2\right )^{3/2}}+\frac {\int \frac {x^2}{\left (a x+b x^2\right )^{3/2}} \, dx}{b}\\ &=-\frac {2 x^3}{3 b \left (a x+b x^2\right )^{3/2}}-\frac {2 x}{b^2 \sqrt {a x+b x^2}}+\frac {\int \frac {1}{\sqrt {a x+b x^2}} \, dx}{b^2}\\ &=-\frac {2 x^3}{3 b \left (a x+b x^2\right )^{3/2}}-\frac {2 x}{b^2 \sqrt {a x+b x^2}}+\frac {2 \text {Subst}\left (\int \frac {1}{1-b x^2} \, dx,x,\frac {x}{\sqrt {a x+b x^2}}\right )}{b^2}\\ &=-\frac {2 x^3}{3 b \left (a x+b x^2\right )^{3/2}}-\frac {2 x}{b^2 \sqrt {a x+b x^2}}+\frac {2 \tanh ^{-1}\left (\frac {\sqrt {b} x}{\sqrt {a x+b x^2}}\right )}{b^{5/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.12, size = 76, normalized size = 1.07 \begin {gather*} -\frac {2 x \left (\sqrt {b} x (3 a+4 b x)+3 \sqrt {x} (a+b x)^{3/2} \log \left (-\sqrt {b} \sqrt {x}+\sqrt {a+b x}\right )\right )}{3 b^{5/2} (x (a+b x))^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(242\) vs.
\(2(59)=118\).
time = 0.39, size = 243, normalized size = 3.42
method | result | size |
default | \(-\frac {x^{3}}{3 b \left (b \,x^{2}+a x \right )^{\frac {3}{2}}}-\frac {a \left (-\frac {x^{2}}{b \left (b \,x^{2}+a x \right )^{\frac {3}{2}}}+\frac {a \left (-\frac {x}{2 b \left (b \,x^{2}+a x \right )^{\frac {3}{2}}}-\frac {a \left (-\frac {1}{3 b \left (b \,x^{2}+a x \right )^{\frac {3}{2}}}-\frac {a \left (-\frac {2 \left (2 b x +a \right )}{3 a^{2} \left (b \,x^{2}+a x \right )^{\frac {3}{2}}}+\frac {16 b \left (2 b x +a \right )}{3 a^{4} \sqrt {b \,x^{2}+a x}}\right )}{2 b}\right )}{4 b}\right )}{2 b}\right )}{2 b}+\frac {-\frac {x}{b \sqrt {b \,x^{2}+a x}}-\frac {a \left (-\frac {1}{b \sqrt {b \,x^{2}+a x}}+\frac {2 b x +a}{a b \sqrt {b \,x^{2}+a x}}\right )}{2 b}+\frac {\ln \left (\frac {\frac {a}{2}+b x}{\sqrt {b}}+\sqrt {b \,x^{2}+a x}\right )}{b^{\frac {3}{2}}}}{b}\) | \(243\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] Leaf count of result is larger than twice the leaf count of optimal. 140 vs.
\(2 (59) = 118\).
time = 0.28, size = 140, normalized size = 1.97 \begin {gather*} -\frac {1}{3} \, x {\left (\frac {3 \, x^{2}}{{\left (b x^{2} + a x\right )}^{\frac {3}{2}} b} + \frac {a x}{{\left (b x^{2} + a x\right )}^{\frac {3}{2}} b^{2}} - \frac {2 \, x}{\sqrt {b x^{2} + a x} a b} - \frac {1}{\sqrt {b x^{2} + a x} b^{2}}\right )} - \frac {4 \, x}{3 \, \sqrt {b x^{2} + a x} b^{2}} + \frac {\log \left (2 \, b x + a + 2 \, \sqrt {b x^{2} + a x} \sqrt {b}\right )}{b^{\frac {5}{2}}} - \frac {2 \, \sqrt {b x^{2} + a x}}{3 \, a b^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.87, size = 193, normalized size = 2.72 \begin {gather*} \left [\frac {3 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )} \sqrt {b} \log \left (2 \, b x + a + 2 \, \sqrt {b x^{2} + a x} \sqrt {b}\right ) - 2 \, {\left (4 \, b^{2} x + 3 \, a b\right )} \sqrt {b x^{2} + a x}}{3 \, {\left (b^{5} x^{2} + 2 \, a b^{4} x + a^{2} b^{3}\right )}}, -\frac {2 \, {\left (3 \, {\left (b^{2} x^{2} + 2 \, a b x + a^{2}\right )} \sqrt {-b} \arctan \left (\frac {\sqrt {b x^{2} + a x} \sqrt {-b}}{b x}\right ) + {\left (4 \, b^{2} x + 3 \, a b\right )} \sqrt {b x^{2} + a x}\right )}}{3 \, {\left (b^{5} x^{2} + 2 \, a b^{4} x + a^{2} b^{3}\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{4}}{\left (x \left (a + b x\right )\right )^{\frac {5}{2}}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x^4}{{\left (b\,x^2+a\,x\right )}^{5/2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________